Class AmigoDummy
java.lang.Object
AmigoDummy
- All Implemented Interfaces:
- RARobotInterface, java.io.Serializable
- public class AmigoDummy
- extends java.lang.Object
- implements java.io.Serializable, RARobotInterface
Dummy version of Amigo for testing purposes.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmigoDummy
public AmigoDummy()
initRobot
public void initRobot()
initRobot
public void initRobot(int maxSpeed)
connect
public void connect()
- Specified by:
connect in interface RARobotInterface
disconnect
public void disconnect()
- Specified by:
disconnect in interface RARobotInterface
robotGo
public void robotGo(double speed,
double angle)
- Specified by:
robotGo in interface RARobotInterface
getSensorIDs
public java.lang.String[] getSensorIDs()
- Specified by:
getSensorIDs in interface RARobotInterface
getSensorValue
public final RADataType getSensorValue(java.lang.String sensor_id)
throws RAException
- Return the sensor value of the sensor indicated with the id specified.
- Specified by:
getSensorValue in interface RARobotInterface
- Throws:
RAException
getCameraValue
public RADataType getCameraValue()
throws RAException
- Return a camera value (a.k.a. NOTHING).
- Throws:
RAException